/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.logicwin.RobotTravel;

import android.app.Activity;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.widget.ImageView;
import com.logicwin.RobotTravel.utils.ConfigUtils;

/**
 *
 * @author chapeng
 */
public class IntroDialogTabText extends Activity{

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        this.setContentView(R.layout.intro_text);

        String sceen = this.getIntent().getExtras().getString("sceen");
        Resources res = this.getResources();
        ImageView view = (ImageView)this.findViewById(R.id.intro_text_view);
        view.setImageDrawable(res.getDrawable(ConfigUtils.getDrawable(sceen, 0)));
    }

}
